home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_319
/
cnewssrc
/
cnews.orig.lzh
/
expire
/
histdups
< prev
next >
Wrap
Text File
|
1989-06-27
|
369b
|
15 lines
# Awk program to merge history lines for the same article in a sorted history
# file (such as is generated during the mkhistory processing).
BEGIN { FS = "\t" ; OFS = "\t" ; mesgid = "" }
{
if ($1 != mesgid) {
if (mesgid != "")
print mesgid, dates, names
mesgid = $1
dates = $2
names = $3
} else
names = names " " $3
}
END { print mesgid, dates, names }